package test1;

import com.ibatis.dao.client.DaoManager;
import com.yunhoo.base.db.dao.PersonDao;
import com.yunhoo.sys.db.config.DaoConfig;
import com.yunhoo.sys.util.common.RemoteSeverParam;
import java.util.List;

/**
 *
 * @author Administrator
 */
public class Test {

    public static void main(String[] args) {
//        String number = "1000001";
//
//        int type = Integer.parseInt(number.substring(0, 1));
//        System.out.println(" * * * " + type + "  * * * ");

//        DaoManager manager = DaoConfig.getDaoManager();
//        PersonDao dao = (PersonDao) manager.getDao(PersonDao.class);
//        List li = dao.queryPerIdReferList();
//
//        System.out.println("li = " + li.size());

//        RemoteSeverParam param = new RemoteSeverParam("perId");
//        System.out.println("dbServer" + param.getDbServer());
//        System.out.println("dbName" + param.getDbName());
//        System.out.println("uid" + param.getUid());
//        System.out.println("pwd" + param.getPwd());
    }
}
